package com.yike.order.lkl.demo;

import com.lkl.laop.sdk.LKLSDK;
import com.lkl.laop.sdk.request.V3CcssCounterOrderCloseRequest;

/**
 * @author nxj
 * @date 2024/5/16 14:18
 * @description 收银台关单DEMO
 */
public class V3CcssCounterOrderCloseRequestDemo extends BaseCommonDemo {
    public static void main(String[] args) throws Exception {
        // 1. 配置初始化
        doInit();

        //2. 装配数据
        V3CcssCounterOrderCloseRequest req = new V3CcssCounterOrderCloseRequest();
        req.setOutOrderNo("KFPT2022071415575938951152");
        req.setMerchantNo("8222900701105HK");
        req.setChannelId("2021052614391");

        //3. 发送请求
        String response = LKLSDK.httpPost(req);

        //4. 响应
        System.out.println(response);
    }
}
